package com.emergency.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * (AffectedExpert)实体类
 * 受灾点调度专家库
 * @author makejava
 * @since 2020-10-09 17:22:02
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AffectedExpert extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 340925534573604905L;

    /**
     * 自增ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 受灾点ID
     */
    private Long affectedPointId;
    /**
     * 专家组ID
     */
    private Long rescueExpertId;
    /**
     * 是否确认 0-未确认；1-已确认 默认为0
     */
    private Integer isConfirm;
    /**
     * 确认时间
     */
    private LocalDateTime confirmTime;
}
